Optimal. Leaf size=26 \[ \frac {\left (b x^n+c x^{2 n}\right )^{1+p}}{n (1+p)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.069, Rules used = {2059, 643}
\begin {gather*} \frac {\left (b x^n+c x^{2 n}\right )^{p+1}}{n (p+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 643
Rule 2059
Rubi steps
\begin {align*} \int x^{-1+n} \left (b+2 c x^n\right ) \left (b x^n+c x^{2 n}\right )^p \, dx &=\frac {\text {Subst}\left (\int (b+2 c x) \left (b x+c x^2\right )^p \, dx,x,x^n\right )}{n}\\ &=\frac {\left (b x^n+c x^{2 n}\right )^{1+p}}{n (1+p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.11, size = 24, normalized size = 0.92 \begin {gather*} \frac {\left (x^n \left (b+c x^n\right )\right )^{1+p}}{n (1+p)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 0.22, size = 155, normalized size = 5.96
method | result | size |
risch | \(\frac {x^{n} \left (b +c \,x^{n}\right ) {\mathrm e}^{\frac {p \left (-i \pi \mathrm {csgn}\left (i x^{n} \left (b +c \,x^{n}\right )\right )^{3}+i \pi \mathrm {csgn}\left (i x^{n} \left (b +c \,x^{n}\right )\right )^{2} \mathrm {csgn}\left (i x^{n}\right )+i \pi \mathrm {csgn}\left (i x^{n} \left (b +c \,x^{n}\right )\right )^{2} \mathrm {csgn}\left (i \left (b +c \,x^{n}\right )\right )-i \pi \,\mathrm {csgn}\left (i x^{n} \left (b +c \,x^{n}\right )\right ) \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i \left (b +c \,x^{n}\right )\right )+2 \ln \left (x^{n}\right )+2 \ln \left (b +c \,x^{n}\right )\right )}{2}}}{n \left (1+p \right )}\) | \(155\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.35, size = 40, normalized size = 1.54 \begin {gather*} \frac {{\left (c x^{2 \, n} + b x^{n}\right )} e^{\left (p \log \left (c x^{n} + b\right ) + p \log \left (x^{n}\right )\right )}}{n {\left (p + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 36, normalized size = 1.38 \begin {gather*} \frac {{\left (c x^{2 \, n} + b x^{n}\right )} {\left (c x^{2 \, n} + b x^{n}\right )}^{p}}{n p + n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.69, size = 26, normalized size = 1.00 \begin {gather*} \frac {{\left (c x^{2 \, n} + b x^{n}\right )}^{p + 1}}{n {\left (p + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.13, size = 34, normalized size = 1.31 \begin {gather*} \frac {x^n\,\left (b+c\,x^n\right )\,{\left (b\,x^n+c\,x^{2\,n}\right )}^p}{n\,\left (p+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________